
using System;
using System.Runtime.InteropServices;

namespace Bioscrypt
{
    [StructLayout(LayoutKind.Sequential)]
    public struct BII_GPI_STATES
    {
        [MarshalAs(UnmanagedType.U4)]
        public int GPI0_Current_State;

        [MarshalAs(UnmanagedType.U4)]
        public int GPI1_Current_State;

        [MarshalAs(UnmanagedType.U4)]
        public int GPI0_Latched_State;

        [MarshalAs(UnmanagedType.U4)]
        public int GPI1_Latched_State;

        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
        public int[] Reserved;
    }
}
